body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    background-image: url('../img/login.jpg'); /* 背景图片路径 */
    background-size: cover;
    background-position: center;
    position: relative;
    margin-right: 0px;
}

.welcome-message {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 36px;
    font-weight: bold;
    color: #333;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px; /* 调整边框圆角 */
}

.login-container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 300px;
    position: absolute;
    top: 50%;
    right: 250px; /* 调整右侧距离 */
    transform: translateY(-50%);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 20px;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px; /* 调整输入框之间的间距 */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.login-container input[type="submit"],
.login-container input[type="button"] {
    width: 45%; /* 按钮宽度 */
    padding: 10px;
    margin-right: 30px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    margin-top: 28px;

}

.login-container input[type="subit"]:hover,
.login-container input[type="button"]:hover {
    background-color: #0056b3;

}

.login-links {
    position: absolute;
    top: 20px; /* 调整链接距离顶部的距离 */
    right: 20px; /* 调整链接距离右侧的距离 */
}
